package com.shiroha.chat.pojo.dto;

import com.shiroha.chat.enums.MessageType;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.UUID;

@Data
public class ChatMessage {
    private UUID senderId;
    private UUID receiverId;
    private Long groupId;
    private MessageType type;
    private String content;
    private LocalDateTime timestamp;
    private String mediaUrl;  // 用于存储媒体文件的URL
}
